package com.ruoyi.web.controller.demo;


import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class DemoController {
    @RequestMapping("/demo")
    public String demo(){
        return  "hello spring boot";
    }

    @RequestMapping("/calc")
    public int calc(){
        return  6 * 6;
    }
}
